package com.parking.status.sync.entity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by Administrator on 2015/9/25.
 */
@Entity
@Table(name="CommandSyncParkingInfo")
public class CommandSyncParkingInfo extends CommandCommon {

    //工号
    private String uid;

    //批次号
    private String batchCode;

    //业务流水号
    private int bizSn;

    //操作时间：
    private Date actTime;

    //停车点编号
    private String parkingSpotId;

    //平台编号
    private String platformId;

    //总车位
    private int totBerthNum;

    //月租车位
    private int monthlyBerthNum;

    //访客车位
    private int guesBerthNum;

    //总剩余车位
    private int totRemainNum;

    //月租剩余车位
    private int monthlyRemainNum;

    //访客剩余车位
    private int guestRemainNum;

    public CommandSyncParkingInfo() {}

    public CommandSyncParkingInfo(int sqo, String clientId, String tsn, String sim, String psam, String sysVer, String appVer, String uid, String batchCode, int bizSn, Date actTime, String parkingSpotId, String platformId, int totBerthNum, int monthlyBerthNum, int guesBerthNum, int totRemainNum, int monthlyRemainNum, int guestRemainNum) {
        super(sqo, clientId, tsn, sim, psam, sysVer, appVer);
        this.uid = uid;
        this.batchCode = batchCode;
        this.bizSn = bizSn;
        this.actTime = actTime;
        this.parkingSpotId = parkingSpotId;
        this.platformId = platformId;
        this.totBerthNum = totBerthNum;
        this.monthlyBerthNum = monthlyBerthNum;
        this.guesBerthNum = guesBerthNum;
        this.totRemainNum = totRemainNum;
        this.monthlyRemainNum = monthlyRemainNum;
        this.guestRemainNum = guestRemainNum;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    public int getBizSn() {
        return bizSn;
    }

    public void setBizSn(int bizSn) {
        this.bizSn = bizSn;
    }

    public Date getActTime() {
        return actTime;
    }

    public void setActTime(Date actTime) {
        this.actTime = actTime;
    }

    public String getParkingSpotId() {
        return parkingSpotId;
    }

    public void setParkingSpotId(String parkingSpotId) {
        this.parkingSpotId = parkingSpotId;
    }

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }

    public int getTotBerthNum() {
        return totBerthNum;
    }

    public void setTotBerthNum(int totBerthNum) {
        this.totBerthNum = totBerthNum;
    }

    public int getMonthlyBerthNum() {
        return monthlyBerthNum;
    }

    public void setMonthlyBerthNum(int monthlyBerthNum) {
        this.monthlyBerthNum = monthlyBerthNum;
    }

    public int getGuesBerthNum() {
        return guesBerthNum;
    }

    public void setGuesBerthNum(int guesBerthNum) {
        this.guesBerthNum = guesBerthNum;
    }

    public int getTotRemainNum() {
        return totRemainNum;
    }

    public void setTotRemainNum(int totRemainNum) {
        this.totRemainNum = totRemainNum;
    }

    public int getMonthlyRemainNum() {
        return monthlyRemainNum;
    }

    public void setMonthlyRemainNum(int monthlyRemainNum) {
        this.monthlyRemainNum = monthlyRemainNum;
    }

    public int getGuestRemainNum() {
        return guestRemainNum;
    }

    public void setGuestRemainNum(int guestRemainNum) {
        this.guestRemainNum = guestRemainNum;
    }

}
